#ifndef USER_H
#define USER_H
#include <QString>
#include <QDataStream>

using namespace std;

class User
{
public:
    User();
    User(QString id);
    User(const QString &id, const int &initialType);
    int getType() const;
    void setType(int type);
    QString getUserID() const;
    void setUserID(QString userID);

private:
    int type;
    QString userID;


};

QDataStream &operator<<(QDataStream &out, const User &data);
QDataStream &operator>>(QDataStream &in, User &data);

#endif // USER_H
